; * lisp/emacs-lisp/find-func.el (find-function): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Thu, 22 May 2025 06:43:45 +0000 (09:43 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 22 May 2025 06:43:45 +0000 (09:43 +0300)
lisp/emacs-lisp/find-func.el

index 0a2717dfc6704bd0f9d265437575a54d93dd7181..c5116fc1ba981c64e57560058755c60f34fc8c7a 100644 (file)
@@ -626,14 +626,17 @@ Set mark before moving, if the buffer already existed."
 
 ;;;###autoload
 (defun find-function (function)
-  "Find the definition of the FUNCTION near point.
+  "Find the definition of the Emacs Lisp FUNCTION near point.
 
 Finds the source file containing the definition of the function
 near point (selected by `function-called-at-point') in a buffer and
 places point before the definition.
 Set mark before moving, if the buffer already existed.
 
-See also `find-function-recenter-line' and `find-function-after-hook'."
+See also `find-function-recenter-line' and `find-function-after-hook'.
+
+Use \\[xref-find-definitions] to find definitions of functions and variables
+that are not part of Emacs."
   (interactive (find-function-read))
   (find-function-do-it function nil 'switch-to-buffer))